# number = eval(input("输入一个数："))
# max = number
#
# while number != 0 :
#     number = eval(input("输入一个数："))
#     if number > max:
#         max = number
#
# print("最大数：",max)
# print("number=",number)



number = 0
sum = 0
for count in range(5):
    number = eval(input("输入一个数："))
    sum += number
print('sum=',sum)
print("count=",count)